package org.jeecg.modules.wangyue.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.wangyue.entity.TrendsJs;
import org.jeecg.modules.wangyue.mapper.TrendsJsMapper;
import org.jeecg.modules.wangyue.model.FindToRecommendModel;
import org.jeecg.modules.wangyue.service.ITrendsJsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 技师动态表
 * @Author: jeecg-boot
 * @Date:   2023-06-30
 * @Version: V1.0
 */
@Service
public class TrendsJsServiceImpl extends ServiceImpl<TrendsJsMapper, TrendsJs> implements ITrendsJsService {

    @Autowired
    private TrendsJsMapper trendsJsMapper;

    @Override
    public IPage<FindToRecommendModel> findToRecommend(Page page, String userId) {
        return trendsJsMapper.findToRecommend(page, userId);
    }
}
